Hello World!

这是我的第一篇博客内容,简单记录了博客的撰写和每次更新的流程!

Welcome to Hexo! This is your very first post. Check documentation for more info. If you get any problems when using Hexo, you can find the answer in troubleshooting or you can ask me on GitHub.

Quick Start

Create a new post(创建新文章)

1
hexo new "My New Post"

More info: Writing

Run server(启动本地服务器)

1
hexo server

会出现

1
INFO  Hexo is running at http://localhost:4000/ . Press Ctrl+C to stop

这样就可以在本地服务器上进行测试了!

More info: Server

Wipe cache partition(清理缓存)

1
hexo clean

Generate static files(生成静态文件)

1
hexo generate

More info: Generating

Deploy to remote sites(部署到github远程站点)

1
hexo deploy

More info: Deployment

Integrate (将上述步骤简化为一个命令行操作)

1
hexo clean && hexo g && hexo d
1
hexo clean && hexo g && hexo s

封面来源:Alan Walker & Torine - Hello World (Official Music Video)


Hello World!
http://example.com/2025/05/01/other/hello-world/
作者
Li Qinxuan
发布于
2025年5月1日
许可协议